Optimal. Leaf size=73 \[ \frac {b^2 \log \left (a \cosh ^2(c+d x)+b\right )}{2 a d (a+b)^2}-\frac {\text {csch}^2(c+d x)}{2 d (a+b)}+\frac {(a+2 b) \log (\sinh (c+d x))}{d (a+b)^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.12, antiderivative size = 73, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.130, Rules used = {4138, 446, 88} \[ \frac {b^2 \log \left (a \cosh ^2(c+d x)+b\right )}{2 a d (a+b)^2}-\frac {\text {csch}^2(c+d x)}{2 d (a+b)}+\frac {(a+2 b) \log (\sinh (c+d x))}{d (a+b)^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 88
Rule 446
Rule 4138
Rubi steps
\begin {align*} \int \frac {\coth ^3(c+d x)}{a+b \text {sech}^2(c+d x)} \, dx &=\frac {\operatorname {Subst}\left (\int \frac {x^5}{\left (1-x^2\right )^2 \left (b+a x^2\right )} \, dx,x,\cosh (c+d x)\right )}{d}\\ &=\frac {\operatorname {Subst}\left (\int \frac {x^2}{(1-x)^2 (b+a x)} \, dx,x,\cosh ^2(c+d x)\right )}{2 d}\\ &=\frac {\operatorname {Subst}\left (\int \left (\frac {1}{(a+b) (-1+x)^2}+\frac {a+2 b}{(a+b)^2 (-1+x)}+\frac {b^2}{(a+b)^2 (b+a x)}\right ) \, dx,x,\cosh ^2(c+d x)\right )}{2 d}\\ &=-\frac {\text {csch}^2(c+d x)}{2 (a+b) d}+\frac {b^2 \log \left (b+a \cosh ^2(c+d x)\right )}{2 a (a+b)^2 d}+\frac {(a+2 b) \log (\sinh (c+d x))}{(a+b)^2 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.24, size = 100, normalized size = 1.37 \[ -\frac {\text {sech}^2(c+d x) (a \cosh (2 (c+d x))+a+2 b) \left (b^2 \left (-\log \left (a \sinh ^2(c+d x)+a+b\right )\right )+a (a+b) \text {csch}^2(c+d x)-2 a (a+2 b) \log (\sinh (c+d x))\right )}{4 a d (a+b)^2 \left (a+b \text {sech}^2(c+d x)\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.52, size = 862, normalized size = 11.81 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.48, size = 199, normalized size = 2.73 \[ -\frac {\tanh ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )}{8 d \left (a +b \right )}-\frac {\ln \left (\tanh \left (\frac {d x}{2}+\frac {c}{2}\right )-1\right )}{d a}-\frac {\ln \left (\tanh \left (\frac {d x}{2}+\frac {c}{2}\right )+1\right )}{d a}+\frac {b^{2} \ln \left (\left (\tanh ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) a +b \left (\tanh ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+2 \left (\tanh ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) a -2 \left (\tanh ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) b +a +b \right )}{2 d a \left (a +b \right )^{2}}-\frac {1}{8 d \left (a +b \right ) \tanh \left (\frac {d x}{2}+\frac {c}{2}\right )^{2}}+\frac {\ln \left (\tanh \left (\frac {d x}{2}+\frac {c}{2}\right )\right ) a}{d \left (a +b \right )^{2}}+\frac {2 \ln \left (\tanh \left (\frac {d x}{2}+\frac {c}{2}\right )\right ) b}{d \left (a +b \right )^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.44, size = 187, normalized size = 2.56 \[ \frac {b^{2} \log \left (2 \, {\left (a + 2 \, b\right )} e^{\left (-2 \, d x - 2 \, c\right )} + a e^{\left (-4 \, d x - 4 \, c\right )} + a\right )}{2 \, {\left (a^{3} + 2 \, a^{2} b + a b^{2}\right )} d} + \frac {{\left (a + 2 \, b\right )} \log \left (e^{\left (-d x - c\right )} + 1\right )}{{\left (a^{2} + 2 \, a b + b^{2}\right )} d} + \frac {{\left (a + 2 \, b\right )} \log \left (e^{\left (-d x - c\right )} - 1\right )}{{\left (a^{2} + 2 \, a b + b^{2}\right )} d} + \frac {d x + c}{a d} + \frac {2 \, e^{\left (-2 \, d x - 2 \, c\right )}}{{\left (2 \, {\left (a + b\right )} e^{\left (-2 \, d x - 2 \, c\right )} - {\left (a + b\right )} e^{\left (-4 \, d x - 4 \, c\right )} - a - b\right )} d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.07, size = 523, normalized size = 7.16 \[ \frac {\ln \left (23\,a\,b^7+8\,a^7\,b-2\,b^8-72\,a^2\,b^6-10\,a^3\,b^5+184\,a^4\,b^4+180\,a^5\,b^3+64\,a^6\,b^2+2\,b^8\,{\mathrm {e}}^{2\,c}\,{\mathrm {e}}^{2\,d\,x}-23\,a\,b^7\,{\mathrm {e}}^{2\,c}\,{\mathrm {e}}^{2\,d\,x}-8\,a^7\,b\,{\mathrm {e}}^{2\,c}\,{\mathrm {e}}^{2\,d\,x}+72\,a^2\,b^6\,{\mathrm {e}}^{2\,c}\,{\mathrm {e}}^{2\,d\,x}+10\,a^3\,b^5\,{\mathrm {e}}^{2\,c}\,{\mathrm {e}}^{2\,d\,x}-184\,a^4\,b^4\,{\mathrm {e}}^{2\,c}\,{\mathrm {e}}^{2\,d\,x}-180\,a^5\,b^3\,{\mathrm {e}}^{2\,c}\,{\mathrm {e}}^{2\,d\,x}-64\,a^6\,b^2\,{\mathrm {e}}^{2\,c}\,{\mathrm {e}}^{2\,d\,x}\right )\,\left (a+2\,b\right )}{d\,a^2+2\,d\,a\,b+d\,b^2}-\frac {x}{a}-\frac {2}{\left (a\,d+b\,d\right )\,\left ({\mathrm {e}}^{4\,c+4\,d\,x}-2\,{\mathrm {e}}^{2\,c+2\,d\,x}+1\right )}+\frac {b^2\,\ln \left (a\,b^4+16\,a^4\,b+4\,a^5-8\,a^2\,b^3+12\,a^3\,b^2+8\,a^5\,{\mathrm {e}}^{2\,c}\,{\mathrm {e}}^{2\,d\,x}+4\,a^5\,{\mathrm {e}}^{4\,c}\,{\mathrm {e}}^{4\,d\,x}+4\,b^5\,{\mathrm {e}}^{2\,c}\,{\mathrm {e}}^{2\,d\,x}-30\,a\,b^4\,{\mathrm {e}}^{2\,c}\,{\mathrm {e}}^{2\,d\,x}+48\,a^4\,b\,{\mathrm {e}}^{2\,c}\,{\mathrm {e}}^{2\,d\,x}+a\,b^4\,{\mathrm {e}}^{4\,c}\,{\mathrm {e}}^{4\,d\,x}+16\,a^4\,b\,{\mathrm {e}}^{4\,c}\,{\mathrm {e}}^{4\,d\,x}+32\,a^2\,b^3\,{\mathrm {e}}^{2\,c}\,{\mathrm {e}}^{2\,d\,x}+88\,a^3\,b^2\,{\mathrm {e}}^{2\,c}\,{\mathrm {e}}^{2\,d\,x}-8\,a^2\,b^3\,{\mathrm {e}}^{4\,c}\,{\mathrm {e}}^{4\,d\,x}+12\,a^3\,b^2\,{\mathrm {e}}^{4\,c}\,{\mathrm {e}}^{4\,d\,x}\right )}{2\,d\,a^3+4\,d\,a^2\,b+2\,d\,a\,b^2}-\frac {2\,\left (a^2+b\,a\right )}{a\,\left ({\mathrm {e}}^{2\,c+2\,d\,x}-1\right )\,\left (a+b\right )\,\left (a\,d+b\,d\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\coth ^{3}{\left (c + d x \right )}}{a + b \operatorname {sech}^{2}{\left (c + d x \right )}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________